package com.chengqs.rapid.console.dto;

/**
 * <B>主类名称：</B>ServiceDefinitionDTO<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-03-18 17:57:17
 **/
public class ServiceDefinitionDTO {
    /**
     * 	前缀
     */
    private String prefixPath;	// namespace = ChengqsRapid-dev
    /**
     * 	服务唯一ID
     */
    private String uniqueId;	//	serviceId:version

    /**
     * 	访问真实ANT表达式匹配
     */
    private String patternPath;
    /**
     *	启用禁用服务
     */
    private boolean enable = true;

    public ServiceDefinitionDTO() {
        super();
    }

    public ServiceDefinitionDTO(String prefixPath, String uniqueId, String patternPath, boolean enable) {
        super();
        this.prefixPath = prefixPath;
        this.uniqueId = uniqueId;
        this.patternPath = patternPath;
        this.enable = enable;
    }

    public String getPrefixPath() {
        return prefixPath;
    }

    public void setPrefixPath(String prefixPath) {
        this.prefixPath = prefixPath;
    }

    public String getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(String uniqueId) {
        this.uniqueId = uniqueId;
    }

    public String getPatternPath() {
        return patternPath;
    }

    public void setPatternPath(String patternPath) {
        this.patternPath = patternPath;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
